//
// Created by yewa on 2021/11/16.
//

#ifndef LEARNOPENGL_DRAWBACKGROUND_H
#define LEARNOPENGL_DRAWBACKGROUND_H

#include <GLES3/gl3.h>

class DrawBackground {
public:
    GLuint m_ProgramObj;
    GLuint m_VertexShader;
    GLuint m_FragmentShader;
    int width;
    int height;
    DrawBackground() {
        m_ProgramObj = 0;
        m_VertexShader = 0;
        m_FragmentShader = 0;
    };

    void init();

    void draw();

    void onSurfaceChanged(int width, int height);
};


#endif //LEARNOPENGL_DRAWBACKGROUND_H
